
daofusion
http://opensource.anasoft.com/daofusion-site/images/top-right.gif' /> Click on the logo to visit official project site.
DAO Fusion is a lightweight yet comprehensive and extensible Java based Data Access Object (DAO) pattern implementation built on top of Java Persistence API (JPA) and Hibernate.
http://opensource.anasoft.com/daofusion-site/images/dataaccess.png' />
Features
You could think of DAO Fusion as a solid foundation for your own DAO layers, doing most of the usual heavy lifting for you and providing support for common DAO-related tasks and patterns, such as: * Persistent entity model
Model your business domain using a standard persistent entity model with out-of-the-box default persistent entity implementations. * Core DAO classes Build your DAO layer by extending standard persistent entity DAO interfaces / abstract implementations which already provide most of the usual DAO functionality. * Persistent entity criteria API Construct persistent entity criteria with advanced filtering, sorting and paging capabilities and pass them to DAO methods to query for desired results. * Criteria transfer object pattern Use the criteria transfer object (CTO) pattern to construct client-side versions of persistent entity criteria instances and pass them through the chosen communication mechanism to the remote server-side component, employing a CTO converter for seamless CTO-to-criteria transformation. * Bitemporal pattern Add temporal aspects to your business domain, tracking persistent entities in two distinct timelines denoting the validity of facts and your knowledge of such facts throughout the time.
Integration tests
In addition to all of that, DAO Fusion provides an out-of-the-box integration test support based on JUnit and Spring's TestContext framework.
http://opensource.anasoft.com/daofusion-site/images/dbsupport.png' />
Integration tests interact with the chosen database instance and make sure that all standard DAO implementations are properly and thoroughly tested using a non-trivial sample domain model. Note that DAO Fusion is integration-tested against many popular databases, including MySQL, PostgreSQL, DB2, Oracle 10g and MS SQL Server 2000.
Getting started
Visit our official project site to learn more about DAO Fusion.